import api from '../index'
import type { ResponseData, pageParam, RequestFromType } from '../index'
// 超A登录
export const postSupperAppLogin = (data : { code : string,salt?:string}) =>
	api.post<ResponseData<{ access_token : string }>>('auth/api/customer/supper/login', {
		data,
		custom: {
			auth: false,
			isLoading: true
		}
	})
// 超A绑定推广人
export const postSupperAppBindRecommender = (data : { phone:string}) =>
	api.get('customer/api/bind/recommender', {
		data,
		custom: {
			isLoading: true
		}
	})